from ronglian_sms_sdk import SmsSDK

accId = '2c94811c93863e4f0193f69c255b177a'
accToken = '561a78463ca044c0bb927a2a5d84755f'
appId = '2c94811c93863e4f0193f69c26ef1781'

def send_message(mobile, code):
    sdk = SmsSDK(accId, accToken, appId)
    tid = '1'
    mobile = mobile
    datas = (code,)
    resp = sdk.sendMessage(tid, mobile, datas)
    return resp

# send_message('15241776883','666')


